package com.atguigu.service;

import com.atguigu.entity.system.SysRole;
import com.github.pagehelper.PageInfo;
import java.util.Map;

public interface SysRoleService {
    PageInfo<SysRole> findByPage(Integer current, Integer limit, String roleName);

    void submit(SysRole sysRole);

    void update(SysRole sysRole);

    void remove(long roleId);

    Map<String,Object> findAll(Long userId);
}
